package cn.scxy.bookcity.service.impl;

import cn.scxy.bookcity.mapper.PmsCategoryMapper;
import cn.scxy.bookcity.pojo.vo.PmsCategoryListVO;
import cn.scxy.bookcity.service.IPmsCategoryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author gzh
 * @version 1.0.0
 * @date 2022/11/28 21:22
 */
@Service
@Slf4j
public class PmsCategoryServiceImpl implements IPmsCategoryService {
    @Autowired
    PmsCategoryMapper pmsCategoryMapper;
    @Override
    public List<PmsCategoryListVO> allName() {
        List<PmsCategoryListVO> allName = pmsCategoryMapper.allName();
        return allName;
    }
}
